import React, {Component} from 'react'
import {Text, View, FlatList, StyleSheet, RefreshControl, DeviceEventEmitter } from 'react-native';

import ReadTab from '../component/ReadTab'

export default class Collection extends Component {
  constructor(props) {
    super(props)
  }

  render () {
    return (
      <View style={styles.container}>
        <ReadTab {...this.props}  id='collectDao'></ReadTab>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
   flex: 1
  },
  sectionHeader: {
    paddingTop: 2,
    paddingLeft: 10,
    paddingRight: 10,
    paddingBottom: 2,
    fontSize: 14,
    fontWeight: 'bold',
    backgroundColor: 'rgba(247,247,247,1.0)',
  },
  item: {
    padding: 10,
    backgroundColor: 'red',
    height: 40,
    fontSize: 18,
    height: 44,
    marginBottom: 10,
  },
})